﻿using System.Runtime.Serialization;

namespace KPIS.GERP.Models.SYS.ViewModel
{
    [DataContract]
    public class CheckAbsenceRuleResultItemVM
    {
        public CheckAbsenceRuleResultItemVM(string title)
        {
            CheckTitle = title;
            IsWarning = IsError = false;
        }
        [DataMember]public string CheckTitle { get; set; }
        [DataMember]public bool IsWarning { get; set; }
        [DataMember]public bool IsError { get; set; }
        [DataMember]public string Reasons { get; set; }
    }
}